package com.sinothk.fc.reportform.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sinothk.fc.bill.entity.BillEntity;
import com.sinothk.fc.reportform.entity.*;

import java.util.List;

/**
 * @Description:
 * @Author: Liangyt
 * @Date: 2022-09-23
 * @Version: V1.0
 */
public interface ReportFormMapper extends BaseMapper<BillEntity> {

    InOutComeReportFormBean getInOutCome(ReportFormReq req);

    InOutComeReportFormBean getInOutComeForMonth(ReportFormReq reportFormReq);

    InOutComeReportFormBean getInOutComeForYear(ReportFormReq req);

    List<ReportLineDataBean> reportDayHoursSaleIncome(ReportFormReq req);

    List<ReportLineDataBean> reportMonthDaySaleIncome(ReportFormReq req);

    List<ReportLineDataBean> reportMonthDaySaleOutcome(ReportFormReq req);

    List<ReportLineDataBean> reportMonthDaySaleProfit(ReportFormReq req);

    List<ReportLineDataBean> reportYearMonthSaleIncome(ReportFormReq req);

    List<ReportLineDataBean> reportYearMonthSaleOutcome(ReportFormReq req);

    List<ReportLineDataBean> reportYearMonthSaleProfit(ReportFormReq req);

    ReportFormForGoodsOnlineState reportGoodsOnlineState(ReportFormReq req);

    List<ReportLineDataBean> reportDaySaleNumList(ReportFormReq req);

    List<ReportLineDataBean> reportMaterialCostNumList(ReportFormReq req);

    List<ReportLineDataBean> reportSaleProfitList(ReportFormReq req);

    ReportStockLimitDateBean reportStockLimitDate(ReportFormReq req);

    ReportStockLimitDateBean reportMaterialLimitDate(ReportFormReq req);
}
